/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #1f2b3a;
  line-height: 1.5;
}

/* ===== COLOR PALETTE ===== */
:root {
  --primary: #0a3147;        /* deep navy – trust, medical */
  --primary-light: #1f4b6e;
  --secondary: #2f8e9e;      /* teal accent – health, fresh */
  --accent: #57b8c9;
  --light-bg: #f4f9fc;
  --gray-soft: #e6edf2;
  --text-dark: #122231;
  --text-muted: #3e5569;
  --white: #ffffff;
  --border-light: #cbd8e3;
}

/* ===== TYPOGRAPHY & LINKS ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--secondary);
  margin-top: 0.5rem;
  border-radius: 4px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0,20,30,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: var(--primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transform: rotate(10deg);
  transition: 0.2s;
}

.logo-text h1 {
  font-size: 1.7rem;
  margin: 0;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.logo-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a {
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover {
  border-bottom-color: var(--secondary);
  color: var(--primary-light);
}

.btn-contact {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  transition: 0.2s;
  box-shadow: 0 4px 8px rgba(15, 60, 80, 0.2);
}

.btn-contact:hover {
  background: var(--primary-light);
  transform: scale(1.02);
}



.stat-item {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid white;
}

.hero-image {
  flex: 1 1 300px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" width="400" height="300"><rect width="400" height="300" fill="%23cbe2ef" rx="20"/><circle cx="200" cy="130" r="60" fill="%23ffffff" opacity="0.8"/><circle cx="200" cy="120" r="50" fill="%232f8e9e" opacity="0.3"/><path d="M140 170 L260 170 L240 230 L160 230Z" fill="%230a3147" opacity="0.15"/><path d="M180 110 L220 110 L210 150 L190 150Z" fill="%2357b8c9" opacity="0.7"/><circle cx="150" cy="180" r="12" fill="%23ffffff"/><circle cx="250" cy="180" r="12" fill="%23ffffff"/></svg>') no-repeat center/contain;
  min-height: 280px;
  border-radius: 30px;
}

/* ===== GLOBAL SECTIONS ===== */
section {
  padding: 4.5rem 0;
}

.section-light {
  background: var(--light-bg);
}

.section-white {
  background: var(--white);
}

/* ===== SERVICES (Cards) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 25px -8px rgba(10,49,71,0.1);
  transition: 0.25s ease;
  border: 1px solid var(--gray-soft);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 30px -8px rgba(47,142,158,0.15);
}

.service-icon {
  background: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-muted);
}

/* ===== ABOUT / MISSION ===== */
.about-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 2 1 300px;
}

.about-text h2:after {
  margin-left: 0;
}

.about-highlight {
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 40px;
  flex: 1 1 250px;
  box-shadow: 0 20px 30px -10px rgba(10,49,71,0.4);
}

.about-highlight p {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.about-highlight small {
  opacity: 0.8;
}

/* ===== INNOVATION (additional) ===== */
.innovation-strip {
  background: var(--secondary);
  color: white;
  border-radius: 80px 20px 80px 20px;
  padding: 2.5rem 3rem;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.innovation-strip h3 {
  color: white;
  font-size: 2rem;
}

.innovation-strip i {
  font-size: 3rem;
  opacity: 0.7;
}

/* ===== LEADERSHIP TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  border-radius: 32px;
  padding: 1.8rem 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.03);
  border: 1px solid var(--gray-soft);
  transition: 0.2s;
}

.team-member:hover {
  border-color: var(--accent);
}

.member-photo {
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, var(--primary-light), var(--secondary));
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 50px;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member h4 {
  margin-bottom: 0.2rem;
}

.team-member .title {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 60px 60px 60px 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 35px -10px rgba(0,50,70,0.1);
  border: 1px solid var(--border-light);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  font-style: normal;
}

.author-img {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 24px;
}

/* ===== CONTACT / FOOTER ===== */
.contact-bar {
  background: var(--primary);
  color: white;
  padding: 2.5rem 0;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-flex h3 {
  color: white;
  font-size: 2rem;
}

.contact-info {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  font-size: 1.8rem;
  color: var(--accent);
}


/* ===== PAGE TITLE (contact specific) ===== */
.page-header {
  background: linear-gradient(145deg, #e2ecf5 0%, #d3e2ed 100%);
  padding: 36px 0;
  margin-bottom: 20px;
}

.page-header .container h2 {
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-header .container h2 i {
  background: var(--white);
  padding: 14px;
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
}

/* ===== CONTACT GRID (core) ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 50px 0 60px;
}

/* ----- LEFT PANEL (info & map) ----- */
.contact-info-panel {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 35px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 79, 108, 0.08);
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-info-panel > p {
  color: #3f5468;
  margin-bottom: 40px;
  font-size: 1.05rem;
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  background: #f4f9ff;
  border-radius: 0 12px 12px 0;
  line-height: 1.6;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-icon {
  background: var(--gray-light);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: 0.2s;
}

.info-item:hover .info-icon {
  background: var(--primary);
  color: white;
}

.info-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b2b3b;
  margin-bottom: 6px;
}

.info-content p {
  color: #2f4a62;
  margin-bottom: 4px;
}

.info-content .small-note {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
}

.emergency-badge {
  margin-top: 12px;
  background: #fdefe4;
  border-radius: 40px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffbaba;
}

.emergency-badge i {
  color: #c4283c;
  font-size: 1.4rem;
}

.emergency-badge span {
  font-weight: 700;
  color: #a51d30;
}

/* map container */
.map-container {
  margin-top: 30px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,40,60,0.1);
  border: 1px solid #cbd5e1;
  height: 220px;
  background: #eef3f7; /* placeholder, real iframe can be added */
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: #a3c6df;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 300" width="100%" height="100%"><rect width="600" height="300" fill="%23a3c6df"/><circle cx="300" cy="150" r="40" fill="%230b4f6c" opacity="0.8"/><path d="M300 110 L340 160 L300 210 L260 160 Z" fill="%23f9fafc" opacity="0.9"/><text x="230" y="250" font-family="Arial" font-size="16" fill="%230b3b4f">Minehart Medical · HQ</text></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.map-credit {
  background: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 40px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-credit i {
  color: var(--secondary);
}

/* ----- RIGHT PANEL (form) ----- */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 35px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 79, 108, 0.08);
}

.contact-form-panel h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-sub {
  color: #3f5468;
  margin-bottom: 30px;
  font-size: 1rem;
  border-bottom: 2px dotted var(--accent);
  padding-bottom: 12px;
}

.form-row {
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e4156;
  display: flex;
  align-items: center;
  gap: 8px;
}

label i {
  color: var(--secondary);
  width: 20px;
  font-size: 1rem;
}

input, select, textarea {
  padding: 14px 18px;
  border: 1.5px solid #e1eaf1;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  background-color: #fbfdff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 79, 108, 0.08);
  background-color: white;
}

.name-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 32px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px -6px rgba(11, 79, 108, 0.4);
  margin-top: 12px;
}

.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px #0b4f6c;
}

.btn-submit i {
  font-size: 1.2rem;
}

.form-footer-note {
  font-size: 0.85rem;
  color: #6b7f8f;
  margin-top: 24px;
  text-align: center;
  border-top: 1px solid #dde7f0;
  padding-top: 20px;
}

.form-footer-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* ===== ADDITIONAL COMPANY INFO SECTION ===== */
.contact-bottom {
  background: var(--gray-light);
  border-radius: 50px 50px 0 0;
  padding: 48px 0 40px;
  margin-top: 20px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bottom-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,32,64,0.05);
  transition: 0.15s;
  border: 1px solid rgba(45, 122, 75, 0.15);
}

.bottom-card i {
  font-size: 2.4rem;
  color: var(--secondary);
  background: #e1f2e9;
  padding: 18px;
  border-radius: 60px;
  margin-bottom: 18px;
}

.bottom-card h4 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.bottom-card p {
  color: #30556b;
}

.bottom-card .small-link {
  margin-top: 16px;
  display: inline-block;
  font-weight: 600;
  color: var(--secondary);
}





.footer-bottom {
  background: #0b1e2b;
  color: #b0c9da;
  padding: 1.8rem 0;
  font-size: 0.95rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #d3e4f0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== UTILITIES ===== */
.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--primary);
  padding: 0.6rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
}

hr {
  border: none;
  border-top: 2px solid var(--border-light);
  margin: 2rem 0;
}

/* responsive tweaks */
@media (max-width: 700px) {
  h1 { font-size: 2.2rem; }
  .header-container { flex-direction: column; gap: 0.8rem; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}
